package com.xc.freeapp.service;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xc.freeapp.entity.Doctor;
import com.xc.freeapp.entity.DoctorIsCollect;
import com.xc.freeapp.exception.BaseException;

public interface DoctorService {
	
	/**
	 * 获取医生个人信息
	 */
	public   Map<String,Object>  getTakeMedicList(String  doctorid,String userid) throws BaseException, ParseException;
	/**
	 * 获取好医生混合信息
	 */
	public   List<Doctor>  getdoctorlist(String  deptid,String businessId,String userid,String ifexper);
	
	public Map<String, Object> getWorkTimeListV2(String doctorid,String userid) throws ParseException, BaseException;
    /**
     * 根据关键字来查找医生	
     * @param keyword
     * @return
     */
	public   List<Doctor>  getdoctorbykeyword(String  keyword,String businessId);
	
	public   List<Doctor>  getdoctorbyDeptName(String  keyword,String businessId,PageBounds pageBounds);
	
	public   List<Doctor>  getdoctorbySpeciality(String  keyword,String businessId,PageBounds pageBounds);
	
	public Map<String, Object> getWorkTimeList(String doctorid,String userid) throws BaseException, ParseException;
	
	public List<Doctor> getCollectDoctor(String  userid,PageBounds pageBounds);
	
	public List<DoctorIsCollect> getdoctorbydept(String appid,String userid ,String deptid,String ifexper,PageBounds pageBounds);
	
	public List<DoctorIsCollect> getdoctorbyappid(String appid,String userid,PageBounds pageBounds);
	

}
